<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>申购单详情</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=yes" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/requisitions.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <%@ include file='purchasing-header.html'%>
    <div class="content m-top">
        <div class="blank"></div>
        <div class="content4-1">
            <div class="content4-1-1"><span>单号：${item.purchaseId}</span></div>
        </div>
        <div class="content-3">
            <div class="content-3-1">
                <div class="content-3-2">
                    <span class="span-5">${ph.sendCompanyName}</span>
                </div>
            </div>
            <div class="content-3-1">
                <div class="content-3-2">
                    <span class="span-1">申购人：${ph.sendUserName}</span><span class="span4-2">${ph.sendUserId}</span>
                </div>
            </div>

        </div>
        <div class="blank"></div>
        <div class="content6-1">
            <table>
                <tr>
                    <th>品名</th>
                    <th>产地</th>
                    <th>购买数量</th>
                </tr>
                <c:forEach var="item" items="${pls}">
                    <tr>
                        <td>${item.goodsFamily}</td>
                        <td>${item.origin}</td>
                        <td>${item.purchaseQuantity} ${item.unit}</td>
                    </tr>
                </c:forEach>
            </table>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
</script>